package sms

import (
	"context"
)

type Service interface {
	Send(ctx context.Context, tpl string, args []string, numbers ...string) error
	//SendV1(ctx context.Context, tpl string, args []NameArg, numbers ...string) error // 推荐
	// 调用者需要直到实现者需要什么类型的参数， 是[]string, 还是map[string]string
	//SendV2(ctx context.Context, tpl string, args any, numbers ...string) error
}

type NameArg struct {
	Val  string
	Name string
}
